package com.daJiao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.daJiao.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.*;

import java.io.Serializable;

@Builder
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "SysAddress")
@TableName("sys_address")
public class SysAddress extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 7954417202960665501L;
    /**
     * 地址编码
     */
    private String code;

    /**
     * 父编码
     */
    private String parentCode;

    /**
     * 地址名称
     */
    private String name;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 排序编号
     */
    private Integer status;


    private Integer sort;

}